#ifndef __MAINTHREAD_H_
#define __MAINTHREAD_H_

#include "OSThread.h"
#include "StreamServer.h"
#include "V4L2CaptureThread.h"
#include "AlprThread.h"
class MainThread:public OSThread
{
public:
    MainThread();
    ~MainThread();
    virtual void Entry();
    int Initialize();
    void SetStreamServer(StreamServer* pServer);
private:
    StreamServer* m_pServer;
    AlprThread m_pAlprThread;
    V4L2CaptureThread m_v4l2Capture;
};


#endif
